package com.wanmait.translate.system.service.impl;

import com.wanmait.translate.pojo.SystemDict;
import com.wanmait.translate.system.mapper.SystemDictMapper;
import com.wanmait.translate.system.service.SystemDictService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class SystemDictServiceImpl implements SystemDictService {
    @Resource
    private SystemDictMapper systemDictMapper;

    /*
     * @Author huweibin
     * @Description 根据key值获得单条字典对象集合
     * @Date 15:43 2020/11/7
     **/
        public List<SystemDict> getByDictTypeKey(String dictTypeKey){

            return systemDictMapper.getByDictTypeKey(dictTypeKey);
        }
}
